package com.worksmap.core.dao;

import java.util.List;

import com.worksmap.core.entity.TaoBaoSeller;
import com.worksmap.core.entity.User;

public interface  UserDao  {
	
	public User getUserById(int userId);
	
	public User getUserByName(String userName);
	
	public List<User> getUserListByCondition(User user);
	
	public boolean userRegister(User user);
	
	public boolean updateUser(User user, Object ... fieldName);
	
	public boolean delUserById(int userId);
	
	
	
	
	public boolean updateSeller(TaoBaoSeller seller);
	
	public boolean saveSeller(TaoBaoSeller seller);
	
	public TaoBaoSeller getSellerById(String sellerId);
	
	public TaoBaoSeller getSellerByNick(String nick);
}
